<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich">
    
    <rich:panel>
        <f:facet name="header">
            <h:outputText value="Users"></h:outputText>
        </f:facet>
        <h:form>
            <rich:dataGrid value="#{users.users}" var="item" columns="5" elements="10" width="100%" columnClasses="dg_users">
                <rich:panel bodyClass="pbody">
                    <f:facet name="header">
                        <h:outputText value="#{item.username}"></h:outputText>
                    </f:facet>
                    <h:panelGrid columns="2">
                        <h:outputText value="Username:" styleClass="label"></h:outputText>
                        <h:outputText value="#{item.username}" />
                        <h:outputText value="Password" styleClass="label"></h:outputText>
                        <h:outputText value="#{item.password}" />
                    </h:panelGrid>
                </rich:panel>
                <f:facet name="footer">
                    <rich:datascroller></rich:datascroller>
                </f:facet>
            </rich:dataGrid>
        </h:form>
    </rich:panel>
    
</ui:composition>
